package com.piece.core.framework.util.schedule;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import java.util.concurrent.ExecutorService;

public interface ScheduleService {

    /**
     * 执行定时任务
     *
     * @return 日志ID
     */
    void executeInternal(JobExecutionContext context, ExecutorService service) throws JobExecutionException;
}